from math import radians

from numpy import square
from manimlib import *

class Test(Scene):
    #75cfb8
    #bbdfc8
    #f0e5d8
    #ffc478
    def construct(self):
        self.add(NumberPlane())
        l=Square(side_length=5).stretch(7/5,0).shift(LEFT*2.5)
        r=Square(side_length=5).stretch(8/5,0).shift(RIGHT*2)
        bl=Brace(l,UP)
        br=Brace(r,DOWN)
        tl=Tex('7m').next_to(bl,UP)
        tr=Tex('8m').next_to(br,DOWN)
        self.add(l,r,bl,br,tl,tr)
        sl=Tex('20m^2').next_to(r,LEFT)
        sr=Tex('25m^2').next_to(l,RIGHT)
        s=Tex('?m^2')
        ss=Polygon([-2,2.5,0],[2,2.5,0],[2,-2.5,0],[-2,-2.5,0]).set_fill('#75cfb8',1)
        self.add(sl,sr,ss,s,sr)
        self.wait()
